package yygh.order.client;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import yygh.common.result.Result;
import yygh.hospital.vo.order.OrderCountQueryVo;

import java.util.Map;

@EnableFeignClients(value = "service-order")
@Repository
public interface OrderFeignClient {

    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    public Map<String,Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
